home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’93 / The Regulator 1.4 / Read Me for TheRegulator < prev    next >
Encoding:
Text File  |  1993-06-18  |  2.8 KB  |  49 lines  |  [TEXT/ttxt]

  1. Hey, I'm sorry it's useful and all that, but this is what I've been meaning to write every since getting my PowerBook.  I'll try to do better next time.  Brita sez, “Auntie Em!  Auntie Em!”
  2.  
  3. Put this faceless background application in your extensions folder and reboot.  When you are plugged into a battery charger, I modify things so:
  4. • you are in non-rest mode
  5. • System sleep is 15 minutes
  6. • Hard disk sleep is 15 minutes.
  7. If you are not plugged into a battery charger, I modify things so:
  8. • you are in rest mode
  9. • System sleep is whatever you set it to be via the Portable control panel  
  10. • HD sleep is whatever you set it to be via the Portable control panel  
  11.  
  12. Thanks to the youngest attendees this year:
  13.     Brian Gaeke
  14.     Brian Phillips
  15.     Brad Seaman
  16. of the Cincinnati Country Day School for the name and icon design.  Bryan “Marketing” Randolph, also of CCDS, just wanted his name in the credits.  Thanks also to Mike Engbar, Tim Dierks, and Jim Luther for reassuring me that I wasn't crazy while debugging this stuff.
  17.  
  18. --Brian Bechtel
  19.   blob@apple.com or BLOB
  20.  
  21. Change History:
  22. 1.0 First release for the MacHack Hack Show
  23. 1.1 Remove all the DebugStr() calls so real people can use it without installing MacsBug
  24. 1.2 Clean up source.  Add check for existing portables, so that we don't try to muck about on machines we don't know.
  25.  
  26. ------------------ Version 1.3 changes ------------------
  27.  
  28. Date: August 19,1992
  29. Secondary Hacker: Charlie Reiman
  30.           C.REIMAN
  31.           creiman@apple.com
  32.  
  33. Version 1.3 was hacked up from the source of 1.2. Here's a brief synopsis of the changes I made:
  34.  
  35. 1) Fixed a boot-up bug. It used to set the sleep times to exactly the opposite of what you wanted after boot up. 
  36.  
  37. 2) Uses a preferences file to get the user's sleep times. I did this so that if I shut down while I was connected to the mains, 15,15 wouldn't suddenly become my default sleep time.
  38.  
  39. The Preferences file must be named "Regulator Prefs" and must be in your preferences folder. To change the settings, just double click on it. ResEdit its creator, so ResEdit will boot up. Just modify the "Pref" resource. Be careful not to set the sleep times too high, or you will overflow the tiny little bytes they live in while the program is running.
  40.  
  41. If the preferences file is not found, TheRegulator 1.3 will punt by assuming a sleep times of 4 minutes for both the system and the hard disk.
  42.  
  43. Oh- I added a small icon to TheRegulator. It's not very nice, but it looks a little better than the small black glob it was before.
  44.  
  45. ------------------ Version 1.4 changes ------------------
  46.  
  47. Date: June 4, 1993
  48. Brian Bechtel
  49. I went through and figured out the new location of parameter RAM for the new machines.  (160/180/165c/Duo 210/Duo 230).  Because I don't have all these machines, this isn't tested code.  Use at your own risk.